package com.jewelry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jewelry.entity.Order;

import javax.servlet.http.HttpSession;

/**
* @author LZL
* @description 针对表【t_order】的数据库操作Service
* @createDate 2024-03-21 20:53:04
*/
public interface OrderService extends IService<Order> {

    //添加订单
    Order addOrder(Integer addressId,HttpSession session);

    //删除订单
    void deleteOrder(Long orderId);

    //查询订单
    Page<Order> selectOrder(Long orderId, String userName, Integer pageNum, Integer pageSize, HttpSession session);

    //修改订单
    String updateOrderStatus(Long orderId,String status);
}
